package com.company.wechatpush.controller;

import com.company.wechatpush.service.PushService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Real
 * @since 2022-09-02 11:27 PM
 */
@Slf4j
@RestController
public class TestController {

    @Autowired
    private PushService pushService;

    @RequestMapping("/test")
    public String test() {
        return pushService.push();
    }

}
